// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.UserFollowDao;
import com.liuxinlong.modules.entity.UserFollow;
import com.liuxinlong.modules.mapper.UserFollowMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年4月20日
 */
@Service
public class UserFollowDaoImpl extends ServiceImpl<UserFollowMapper, UserFollow> implements UserFollowDao {

    @Override
    public List<UserFollow> getUserFollowList(Map<String,Object> queryParam) {
        return baseMapper.getUserFollowList(queryParam);
    }

    @Override
    public int getUserFollowCount(Map<String, Object> queryParam) {
        return baseMapper.getUserFollowCount(queryParam);
    }

    @Override
    public List<UserFollow> getUserFansList(Map<String,Object> queryParam) {
        return baseMapper.getUserFansList(queryParam);
    }

    @Override
    public int getUserFansCount(Map<String, Object> queryParam) {
        return baseMapper.getUserFansCount(queryParam);
    }

    @Override
    public UserFollow getUserFollowInfo(String userId, String followId) {
        return baseMapper.getUserFollowInfo(userId,followId);
    }
}
